package com.wwx.worldonwheels.domain;

import java.io.Serializable;

public class WwxClass implements Serializable {
    private Integer classId;

    private String name;

    private String dailyRate;

    private Integer mileageRate;

    private static final long serialVersionUID = 1L;

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDailyRate() {
        return dailyRate;
    }

    public void setDailyRate(String dailyRate) {
        this.dailyRate = dailyRate;
    }

    public Integer getMileageRate() {
        return mileageRate;
    }

    public void setMileageRate(Integer mileageRate) {
        this.mileageRate = mileageRate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", classId=").append(classId);
        sb.append(", name=").append(name);
        sb.append(", dailyRate=").append(dailyRate);
        sb.append(", mileageRate=").append(mileageRate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}